/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package services.impl;

import domain.Visa;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import services.interfaces.IVisaServices;

/**
 *
 * @author amega
 */
@Stateless
@LocalBean
public class VisaSrvices extends GenericServiceImpl<Visa> implements IVisaServices{
    
    @PersistenceContext(unitName="RGHPU")
    private EntityManager em;
    @Override
    protected EntityManager getEntityManager() {
        return em;
    }
    
    public VisaSrvices(){
        super(Visa.class);
    }
}
